//
//  SettingViewController.m
//  DemoMeshtiles
//
//  Created by MAC on 7/23/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "SettingViewController.h"

@interface SettingViewController ()

@end

@implementation SettingViewController
@synthesize tagTextField;
NSString *tagSetting;
BOOL isChange;
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    tagSetting=[tagTextField.text copy];
    NSLog(@"Tag :%@",tagSetting);
}

- (void)viewDidUnload
{
    [super viewDidUnload];
    // Release any retained subviews of the main view.
    // e.g. self.myOutlet = nil;
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

- (IBAction)textEditEnd:(UITextField *)sender {
    tagSetting=[tagTextField.text copy];
    NSLog(@"Tag :%@",tagSetting);
    [sender resignFirstResponder];
    isChange=YES;
    
}

- (IBAction)buttonClick:(UIButton *)sender {
    
}
@end
